package com.nbsaas.boot.merchant.rest.convert;

import com.nbsaas.boot.merchant.data.entity.MerchantSettlement;
import com.nbsaas.boot.merchant.api.domain.response.MerchantSettlementResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 商家结算-实体对象转化成响应对象
*/

public class MerchantSettlementResponseConvert  implements Converter<MerchantSettlementResponse,MerchantSettlement> {

    @Override
    public MerchantSettlementResponse convert(MerchantSettlement source) {
        MerchantSettlementResponse  result = new  MerchantSettlementResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

